﻿using System;
using System.Collections.Generic;

#nullable disable

namespace YouHaoApi
{
    public partial class User
    {
        public User()
        {
            Expenses = new HashSet<Expense>();
            Vehicles = new HashSet<Vehicle>();
        }

        public int UserId { get; set; }
        public string Username { get; set; }
        public string Password { get; set; }
        public string Nickname { get; set; }
        public string Email { get; set; }
        public string Mobile { get; set; }
        public DateTime? LastLoginTime { get; set; }
        public string LastLoginIp { get; set; }
        public string Avatar { get; set; }
        public string Sign { get; set; }
        public int? Status { get; set; }
        public DateTime? CreateTime { get; set; }
        public DateTime? UpdateTime { get; set; }

        public virtual ICollection<Expense> Expenses { get; set; }
        public virtual ICollection<Vehicle> Vehicles { get; set; }
    }
}
